package com.example.demo.mapper;

import com.example.demo.entity.Stu;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.ArrayList;

@Mapper
public interface StuMapper {

    ArrayList<Stu> getAll();
    //根据班级ID查询出学生
    ArrayList<Stu> getByClassroom(int classroom_id);
}
